<template>
  <div class="admin-sider">
    <div class="logo">
      <router-link to="/">
        <img src="../assets/images/index/logo.png" width="180" alt="">
      </router-link>
    </div>
    <Menu active-name="1" theme="dark" width="auto" style="background:#323334;" accordion>
      <!-- <MenuItem name="1" to="/admin">
      <img src="../assets/images/admin/icon1.png" width="18" class="v-middle">
      首页
      </MenuItem> -->
      <MenuItem name="2" to="/admin/myCreated">
      <img src="../assets/images/admin/icon2.png" width="18" class="v-middle">
      我的会议
      </MenuItem>
      <Submenu name="3">
        <template slot="title">
          <img src="../assets/images/admin/icon3.png" width="18" class="v-middle">
          云服务
        </template>
        <MenuItem name="3-1" to="/admin/cloudService">购买服务</MenuItem>
        <MenuItem name="3-2" to="/admin/cloudService/buy">我的服务</MenuItem>
        <MenuItem name="3-3" to="/admin/cloudService/device">终端管理</MenuItem>
        <MenuItem name="3-4" to="/admin/cloudService/resourceManage">资源管理</MenuItem>
        <MenuItem name="3-5" to="/admin/cloudService/repareManage">报修管理</MenuItem>
      </Submenu>
      <Submenu name="4">
        <template slot="title">
          <img src="../assets/images/admin/icon4.png" width="18" class="v-middle">
          我的团队
        </template>
        <MenuItem name="4-1" to="/admin/myTeam">企业信息</MenuItem>
        <MenuItem name="4-2" to="/admin/myTeam/department">部门管理</MenuItem>
        <MenuItem name="4-3" to="/admin/myTeam/people">人员管理</MenuItem>
        <MenuItem name="4-4" to="/admin/myTeam/contact">云通讯录</MenuItem>
      </Submenu>
      <Submenu name="5">
        <template slot="title">
          <img src="../assets/images/admin/icon5.png" width="18" class="v-middle">
          财务管理
        </template>
        <MenuItem name="5-1" to="/admin/moneyManage">账户总览</MenuItem>
        <MenuItem name="5-2" to="/admin/moneyManage/income">收支明细</MenuItem>
        <MenuItem name="5-3" to="/admin/moneyManage/expenditure">消费明细</MenuItem>
        <MenuItem name="5-4" to="/admin/moneyManage/order">订单管理</MenuItem>
        <MenuItem name="5-5" to="/admin/moneyManage/renew">续费管理</MenuItem>
        <MenuItem name="5-6" to="/admin/moneyManage/invoice">发票管理</MenuItem>
        <MenuItem name="5-7" to="/admin/moneyManage/coupon">我的优惠券</MenuItem>
      </Submenu>
      <Submenu name="6">
        <template slot="title">
          <img src="../assets/images/admin/icon6.png" width="18" class="v-middle">
          我的账户
        </template>
        <MenuItem name="6-1" to="/admin/myAccount">账户信息</MenuItem>
        <MenuItem name="6-2" to="/admin/myAccount/safe">账户安全</MenuItem>
        <MenuItem name="6-3" to="/admin/myAccount/auth">企业认证</MenuItem>
        <MenuItem name="6-4" to="/admin/myAccount/cooperation">我要合作</MenuItem>
      </Submenu>
      <Submenu name="7">
        <template slot="title">
          <img src="../assets/images/admin/icon7.png" width="18" class="v-middle">
          代理商管理
        </template>
        <MenuItem name="7-1" to="/admin/agent">代理商信息</MenuItem>
        <!-- <MenuItem name="7-2" to="/admin/agent/product">产品管理</MenuItem> -->
        <MenuItem name="7-3" to="/admin/agent/sail">销售管理</MenuItem>
        <MenuItem name="7-4" to="/admin/agent/custom">客户管理</MenuItem>
        <MenuItem name="7-5" to="/admin/agent/oem">OEM配置</MenuItem>
        <MenuItem name="7-6" to="/admin/agent/service">售后服务</MenuItem>
      </Submenu>
    </Menu>
  </div>
</template>

<script>
  export default {

  }
</script>

<style lang="less" scoped>
  .admin-sider {
    background: #323334;
    height: calc(100vh);
    overflow-y: auto;
    overflow-x: hidden;
  }
  .logo{
    margin:20px auto;
    width: 180px;
  }
</style>
